package com.jic.veteran.service;

import cn.hutool.json.JSONObject;
import com.jic.veteran.dto.ProjectBasicQueryParam;
import com.jic.veteran.dto.ProjectDto;
import com.jic.veteran.model.ProjectBasic;
import com.jic.veteran.model.ProjectImplement;

import java.util.List;

public interface ProjectService {
    List<ProjectBasic> listAll();
    List<ProjectBasic> list(ProjectBasicQueryParam projectBasicQueryParam, Integer pageSize, Integer pageNum);
    int create(ProjectBasic projectBasic, ProjectImplement projectImplement);
    int update(Long id,ProjectDto projectDto);
    int release(Long id);
    int delete(Long id);
    int stop(Long id);
    ProjectDto getItem(Long id);
    JSONObject getDonateData(String startDate, String endDate);
}
